package pojo;

import org.springframework.format.annotation.DateTimeFormat;


import java.util.Date;

public class Student {
    private Integer sId;

    private String studentNum;
    private String studentName;

     private String gender;

     private Integer age;



    @DateTimeFormat(pattern = "yyyy-MM-dd")
     private Date birthday;


    private Integer classId;
    private Integer hostelId;
    private String phone;
    private String email;
    private String address;
    private String eContact;
    private String eContactPhone;



    private String major;
    private String status;
    private String dFlag;

    private String createby;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String updateby;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String remark;

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public String getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(String studentNum) {
        this.studentNum = studentNum;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getHostelId() {
        return hostelId;
    }

    public void setHostelId(Integer hostelId) {
        this.hostelId = hostelId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String geteContact() {
        return eContact;
    }

    public void seteContact(String eContact) {
        this.eContact = eContact;
    }

    public String geteContactPhone() {
        return eContactPhone;
    }

    public void seteContactPhone(String eContactPhone) {
        this.eContactPhone = eContactPhone;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getdFlag() {
        return dFlag;
    }

    public void setdFlag(String dFlag) {
        this.dFlag = dFlag;
    }

    public String getCreateby() {
        return createby;
    }

    public void setCreateby(String createby) {
        this.createby = createby;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateby() {
        return updateby;
    }

    public void setUpdateby(String updateby) {
        this.updateby = updateby;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }



    public Student() {
    }

    public Student(Integer sId, String studentNum, String studentName, String gender, Integer age, Date birthday, Integer classId, Integer hostelId, String phone, String email, String address, String eContact, String eContactPhone, String major, String status, String dFlag, String createby, Date createTime, String updateby, Date updateTime, String remark) {
        this.sId = sId;
        this.studentNum = studentNum;
        this.studentName = studentName;
        this.gender = gender;
        this.age = age;
        this.birthday = birthday;
        this.classId = classId;
        this.hostelId = hostelId;
        this.phone = phone;
        this.email = email;
        this.address = address;
        this.eContact = eContact;
        this.eContactPhone = eContactPhone;
        this.major = major;
        this.status = status;
        this.dFlag = dFlag;
        this.createby = createby;
        this.createTime = createTime;
        this.updateby = updateby;
        this.updateTime = updateTime;
        this.remark = remark;
    }





}
